cmake_minimum_required(VERSION 3.19)
project(project-03-simple-network-socket-server)

set(CMAKE_CXX_STANDARD 14)

link_libraries(pthread)

add_executable(
        project-03-simple-network-socket-server
        main.cpp
        header/AtomicInt.h
        header/Constant.h
        header/NetworkTools.h
        header/Server.h
        header/SimpleThreadFactory.h
        header/Task.h
        header/ThreadFactory.h
        header/ThreadPool.h
        source/NetworkTools.cpp
        source/Server.cpp
        source/ThreadPool.cpp
        )